package com.tbit.api;

import com.tbit.common.entity.view.Result;
import com.tbit.manager.api.UserAuthLogApi;
import com.tbit.uqbike.service.business.UserAuthLogService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RestController;

/**
 * 运维端特殊用户认证实现
 *
 * @since 2024/11/28
 */
@RestController
@Slf4j
public class UserAuthLogApiImpl implements UserAuthLogApi {

    @Autowired
    private UserAuthLogService userAuthLogService;

    @Override
    public Boolean cleanUserAuth(Integer userId) {
        Result result = userAuthLogService.cleanUserAuth(userId);
        return result.isSuccess();
    }
}
